package map.animation
{
	public class BaseMapAnimation
	{
		public static const HIGH:int = 3;
		public static const NORMAL:int = 2;
		public static const LOW:int = 1;
		
		protected var _priority:int;
		protected var _finished:Boolean;
		protected var _frames:int;
		
		public function BaseMapAnimation()
		{
			
		}
		
		public function prepare():void
		{
			
		}
		
		public function updata():void
		{
			finish();
		}
		
		public function cancle():void
		{
			
		}
		
		public function isSame(animation:BaseMapAnimation):Boolean
		{
			return false;
		}
		
		public function finish():void
		{
			_finished = true;
		}

		public function get priority():int
		{
			return _priority;
		}

		public function get finished():Boolean
		{
			return _finished;
		}
	}
}